//
//  ZQTitleButton.m
//  BuDeJie
//
//  Created by 仲琦 on 16/4/10.
//  Copyright © 2016年 仲琦. All rights reserved.
//

#import "ZQTitleButton.h"

@implementation ZQTitleButton


- (instancetype)initWithFrame:(CGRect)frame
{
    //从写Frame方法
    //将 父类的Frame方法赋值给self
    //修改frame的值
    //返回frame
    if (self = [super initWithFrame:frame]) {
        
        self.titleLabel.font = [UIFont systemFontOfSize:16];
        
        [self setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
        [self setTitleColor:[UIColor redColor] forState:UIControlStateSelected];
    }
    return self;
}

- (void)setHighlighted:(BOOL)highlighted
{
    
}

@end
